[XEND] Add cpu_weight and cpu_cap parsing for SXP config create
authorAlastair Tse <atse@xensource.com>
Thu, 21 Dec 2006 12:08:27 +0000 (12:08 +0000)
committerAlastair Tse <atse@xensource.com>
Thu, 21 Dec 2006 12:08:27 +0000 (12:08 +0000)
Reported by Masaki Kanno on :
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=835

Signed-off-by: Alastair Tse <atse@xensource.com>
tools/python/xen/xend/XendConfig.py

index 8dd17c4329867e79f9e4bab6f613c5d684e47994..4f347745f290e456073e617f77738755bcec4c3d 100644 (file)
@@ -715,6 +715,8 @@ class XendConfig(dict):
         _set_cfg_if_exists('on_xend_start')
         _set_cfg_if_exists('vcpu_avail')
         _set_cfg_if_exists('max_vcpu_id') # needed for vcpuDomDetails
+        _set_cfg_if_exists('cpu_weight')
+        _set_cfg_if_exists('cpu_cap')
         
         # Parse and store runtime configuration 
         _set_cfg_if_exists('start_time')